﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MenuSystemSite.master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
    $(function () {
        $("#accordion").accordion();
    });
    </script>
    <link rel="stylesheet" href="../../Css/CssReferenceFileFromNewsCenter.css" />
   
    <div class="wrapper">
        <div id="accordion">
         <h3><a href="#">Cafe Information</a></h3>
        <div id="Div1">
           
           
           Description: 
          
            <%= Html.TextArea("CafeDesc")%><br />
          
         
         
           Hours: <input type="text" /> to <input type="text" />
           Active: <input type="checkbox" />
    </div>
            <h3>
                <a href="#">Breakfast</a></h3>
            <div>
                <table>
                <td>
                <table>
                <tr>
                    <th>Menu Item</th>
                </tr>
                <% foreach (var item in (SelectList)ViewData["FoodItems"])
                       { %>
                    <tr>
                        <td>
                            <textarea>
                                <%=item.Text%>
                            </textarea>
                        </td>
                         <% } %>
                    </tr>
                </table>
                </td>
                <td>
                <table>
                <tr>
                    <th>Description</th>
                </tr>
                <% foreach (var item in (SelectList)ViewData["FoodDesc"])
                       { %>
                    <tr>
                        <td>
                            <textarea>
                                <%=item.Text%>
                            </textarea>
                        </td>
                         <% } %>
                    </tr>
                </table>
                </td>
                </table>
            </div>
            <h3>
                <a href="#">Lunch</a></h3>
            <div>
                <table>
                <td>
                <table>
                <tr>
                    <th>Menu Item</th>
                </tr>
                <% foreach (var item in (SelectList)ViewData["FoodItems"])
                       { %>
                    <tr>
                        <td>
                            <textarea>
                                <%=item.Text%>
                            </textarea>
                        </td>
                         <% } %>
                    </tr>
                </table>
                </td>
                <td>
                <table>
                <tr>
                    <th>Description</th>
                </tr>
                <% foreach (var item in (SelectList)ViewData["FoodDesc"])
                       { %>
                    <tr>
                        <td>
                            <textarea>
                                <%=item.Text%>
                            </textarea>
                        </td>
                         <% } %>
                    </tr>
                </table>
                </td>
                </table>
            </div>
            <h3>
                <a href="#">Dinner</a></h3>
            <p>Closed</p>
            <h3>
                <a href="#">3rd Shift</a></h3>
            <p>Closed</p>
        </div>
    </div>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TemplateLeftNav" runat="server">
<form action="">
    <div class="filters">
        <div class="field">
            <label>
                Select A Location:</label>
            <%= Html.DropDownList("Buildings", (SelectList)ViewData["Buildings"], new { style = "width:200px;", onchange = "UpdateReport(this)" })%>
        </div>
    </div>
    </form>
<%--START OF CAFE DROP DOWN BOX--%>
    <form action="">
      <div class="filters">
        <div class="field">
          <label>Select A Cafeteria:</label>
             <%= Html.DropDownList("Cafes", (SelectList)ViewData["Cafes"], new { style = "width:200px;", onchange = "UpdateReport(this)" })%>
        </div>
      </div>
    </form>
<%--END OF CAFE DROP DOWN BOX--%>

<%--START OF DATE PICKER CODE--%>
    <%--Create date picker--%>
    <script type="text/javascript">
        var currentTime = new Date();
        var month = currentTime.getMonth() + 1;
        var day = currentTime.getDate();
        var year = currentTime.getFullYear();
        var date = month + "/" + day + "/" + year;
        $(function () {
            $("#datepicker").datepicker().val(date.toString()).trigger('change');
        });
    </script>
    <%--Display date picker--%>
    <p>Search by Date (mm/dd/yyyy):<input type="text" id="datepicker"/></p>
<%--END DATE PICKER--%>

<form action="">
Add Location: <input type="text" name="location" />
<br />
<br />
Add Cafe: <input type="text" name="cafe" />
<br />
<br/>
<input type="checkbox" name="Breakfast" value="Breakfast" />
Breakfast
<br />

<input type="checkbox" name="Lunch" value="Lunch" />
Lunch
<br />

<input type="checkbox" name="Dinner" value="Dinner" />
Dinner
<br />
<input type="checkbox" name="3rd Shift" value="3rd Shift" />
3rd Shift
<br />
<br />
</form>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="TemplateRightNav" runat="server">
</asp:Content>
